<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html>
<html>
   <head>
    	<title></title>   
		<s:include value="../common/source.jsp"></s:include>
		<script src="js/Limit.js"></script>	
  </head>
  
  <body>
     <script>
/* document.write(extArray.join("  ")); */
</script>
  <div class="body">
      <div class="content ui-sortable">
          <div class="list">
         	学生信息
          	 </div>
          	 </div>
          	 <br/> 
          	  <br/> 
          	   <hr style="background-color:#cfe1f9;height:1px;"/>
  <form class="sui-form form-horizontal sui-validate" action="teacher/upDegreePaper.action" onsubmit="return LimitAttach(form, file) " method="post" enctype="multipart/form-data">
 
     <table class="sui-table table-vzebra  table0" >
                    <tbody>            
                    <tr>
                        <td>学生姓名</td>
                        <td> <input type="text" class="input-large"  name="degreepaper.stuName" data-rules="required"></td>
                      </tr>
                       <tr>
                        <td>学号</td>
                        <td> <input type="text" class="input-large"  name="degreepaper.stuNum" data-rules="required"></td>
                      </tr>
                      <tr>
                      
                      <tr>
                        <td>性别</td>
                        <td><div class="controls ">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value="hz" class="input-large" name="award.stuSex" type="hidden"><i class="caret"></i><span>请选择</span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="0">男</a></li>
				  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">女</a></li>
                </ul>
              </span>
            </span>
          </div></td>
                      </tr>
                      
                       <tr>
                        <td>研究生类别</td>
                        <td><div class="controls ">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value="hz" class="input-large" name="award.degree" type="hidden"><i class="caret"></i><span>请选择</span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=0>硕士研究生</a></li>
				  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value=1>博士研究生</a></li>
                </ul>
              </span>
            </span>
          </div></td>
                      </tr>
                      
                      <tr>
                        <td>是否毕业</td>
                        <td><div class="controls ">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value="hz" class="input-large" name="award.leave" type="hidden"><i class="caret"></i><span>请选择</span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="0">已毕业</a></li>
				  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">未毕业</a></li>
                </ul>
              </span>
            </span>
          </div></td>
                      </tr>           
                       <tr>
                        <td>毕业时间</td>
                        <td> <input type="text" class="input-large"data-toggle="datepicker" value="2015-01-01" name="dates"></td>
                      </tr>
                      
                     <%--  <tr>
                        <td>课外科技项目名称</td>
                        <td>  <input type="text" class="input-large"  name="degreepaper.projectName" data-rules="required"></td>
                      </tr>
                       <tr>
                       
                        <tr>
                        <td>项目级别</td>
                        <td><div class="controls ">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value="hz" class="input-large" name="award.proLevel" type="hidden"><i class="caret"></i><span>请选择</span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="0">国家级</a></li>
				  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">省部级</a></li>
                  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">厅局级</a></li>
                  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">校级</a></li>
                </ul>
              </span>
            </span>
          </div></td>
                      </tr>    
                      
                      <tr>
                        <td>项目来源</td>
                        <td>  <input type="text" class="input-large"  name="degreepaper.proSource" data-rules="required"></td>
                      </tr>
                      
                      <tr>
                        <td>课外科技奖励名称</td>
                        <td>  <input type="text" class="input-large"  name="degreepaper.awardName" data-rules="required"></td>
                      </tr>
                      
                      <tr>
                        <td>获奖等级</td>
                        <td><div class="controls ">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value="hz" class="input-large" name="award.awaLevel" type="hidden"><i class="caret"></i><span>请选择</span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="0">特等奖</a></li>
				  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">一等奖</a></li>
                  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">二等奖</a></li>
                  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">三等奖</a></li>
                </ul>
              </span>
            </span>
          </div></td>
                      </tr>    
                      
                     <tr>
                        <td>获奖级别</td>
                        <td><div class="controls ">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value="hz" class="input-large" name="award.awaKind" type="hidden"><i class="caret"></i><span>请选择</span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="0">国家级</a></li>
				  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">省部级</a></li>
                  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">厅局级</a></li>
                  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">校级</a></li>
                </ul>
              </span>
            </span>
          </div></td>
                      </tr>    
                      
                       <tr>
                        <td>颁奖部门</td>
                        <td>  <input type="text" class="input-large"  name="degreepaper.awaUnit" data-rules="required"></td>
                      </tr>
                       <tr>
                        <td>学位论文名称</td>
                        <td>  <input type="text" class="input-large" data-rules="required" name="degreepaper.degName"></td>
                      </tr>
                      
                      <tr>
                        <td>学位论文获奖</td>
                        <td><div class="controls ">
            <span class="sui-dropdown dropdown-bordered select">
              <span class="dropdown-inner">
                <a id="drop4" role="button" data-toggle="dropdown" href="#" class="dropdown-toggle">
                  <input value="hz" class="input-large" name="award.degAward" type="hidden"><i class="caret"></i><span>请选择</span>
                </a>
                <ul id="menu4" role="menu" aria-labelledby="drop4" class="sui-dropdown-menu">
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="0">国优</a></li>
				  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">省优</a></li>
                  <li role="presentation" class="divider"></li>
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:void(0);" value="1">校优</a></li>          
                </ul>
              </span>
            </span>
          </div></td>
                      </tr> --%>    
                      
                       <tr>
                        <td>上传文件</td>
                        <td> <input type="file" name="fileCom">  </td>
                      </tr>
                    </tbody> 
                  </table>
                    </form>
                   </div>
               <div class="control-group button3">
          <label class="control-label v-top"></label>
          <div class="controls ">
            <button type="submit" class="sui-btn btn-primary" onclick="return LimitAttach(this.form, this.form.fileCom.value)">提交</button>
            <button type="reset" class="sui-btn">重置</button>
          </div>   

  </div>
  <script>
  if("<s:property value="suc"/>"=="success"){
  alert("上传学位论文成功！！！");
  }
  </script>
  </body>
</html>
